package com.huilian.tool.weixin.enums;

import lombok.Getter;

/**
 * @authou 少凡
 * @Date 2019-04-13 09:45
 */
@Getter
public enum ButtonTypeEnum {

    CLICK("click", "点击推事件用户点击click类型按钮"),
    VIEW("view", "跳转URL用户点击view类型按钮"),
    SCANCODE_PUSH("scancode_push", "扫码推事件用户点击按钮"),
    SCANCODE_WAITMSG("scancode_waitmsg", "扫码推事件且弹出“消息接收中”提示框用户点击按钮"),
    PIC_SYSPHOTO("pic_sysphoto", "弹出系统拍照发图用户点击按钮"),
    PIC_PHOTO_OR_ALBUM("pic_photo_or_album", "弹出拍照或者相册发图用户点击按钮"),
    PIC_WEIXIN("pic_weixin", "弹出微信相册发图器用户点击按钮"),
    LOCATION_SELECT("location_select", "弹出地理位置选择器用户点击按钮"),
    MEDIA_ID("media_id", "下发消息（除文本消息）用户点击media_id类型按钮"),
    MINIPROGRAM("miniprogram", "点击按钮打开小程序"),

    ;

    private String code;
    private String desc;

    ButtonTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
